
set(FCITX_TABLE_SOURCES
    table.c
    tableconfig.c
)

add_library(fcitx-table MODULE ${FCITX_TABLE_SOURCES})
set_target_properties( fcitx-table PROPERTIES PREFIX "" COMPILE_FLAGS "-fvisibility=hidden")

install(TARGETS fcitx-table DESTINATION ${addondir})
install(FILES fcitx-table.conf DESTINATION ${pkgdatadir}/data/addon)
install(FILES table.desc DESTINATION ${pkgdatadir}/data/addon)
